--- Settings NVIM 
vim.opt.mouse = "a" -- Enable mouse support
vim.opt.encoding = "utf-8"       -- Общая кодировка (необязательно, по умолчанию UTF-8)
vim.opt.fileencoding = "utf-8"  -- Кодировка файлов
vim.opt.number = true -- Show line numbers
vim.opt.cursorline = false -- Disable highlight current cursor's line
vim.opt.swapfile = false -- Disable .swp files 
vim.opt.scrolloff = 7 -- Number of lines left visible above/below the cursor when scrolling
vim.opt.tabstop = 4 -- Spaces instead of one tab
vim.opt.softtabstop = 4 -- Spaces instead of one tab
vim.opt.shiftwidth = 4 -- Spaces for auto indent
vim.opt.expandtab = true -- Replace tab with spaces
vim.opt.autoindent = true -- Save indent on new line
vim.opt.fileformat = "unix"
vim.opt.smartindent = true
vim.opt.splitbelow = true -- horizontal split open below and right
vim.opt.splitright = true
vim.opt.termguicolors = true -- 24-bit colors

--vim.o.background = "dark" -- or "light" for light mode


----- Дальше все отНОСЯЩЕЕСЯ К lAZY I PLUGINS
---BASE
require("config.lazy")
require("config.mappings")
--require("config.colors")
vim.cmd("colorscheme catppuccin-frappe")
---Plugins
require ("plugins.neotree")
require ("plugins.treesitter")
require ("plugins.comments")
require ("plugins.lualine")
require ("plugins.autopairs")
require ("plugins.bufferline")
require ("plugins.toggleterm")
--require ("plugins.markdown-preview")

--require ("plugins.cmp")
require ("plugins.lsp")
require ("plugins.mason")
